Brion Vibber [Sun, 20 Jan 2008 18:35:19 +0000 (18:35 +0000)]
Revert r29936, r29891 -- lowercase namespace and special names causing vast breakage
Roan Kattouw [Sun, 20 Jan 2008 18:20:08 +0000 (18:20 +0000)]
* API: Added apfilterlanglinks parameter to list=allpages, replacing query.php?what=nolanglinks
Rotem Liss [Sun, 20 Jan 2008 16:25:55 +0000 (16:25 +0000)]
Update.
Victor Vasiliev [Sun, 20 Jan 2008 16:05:44 +0000 (16:05 +0000)]
* Don't follow redirects if image exists
Roan Kattouw [Sun, 20 Jan 2008 14:20:50 +0000 (14:20 +0000)]
(bug 12704) Adding amlang parameter to meta=allmessages
Roan Kattouw [Sun, 20 Jan 2008 14:02:55 +0000 (14:02 +0000)]
RELEASE-NOTES update for r29981, which DOES change the interface, contrary to my comment at 29981
Roan Kattouw [Sun, 20 Jan 2008 13:22:14 +0000 (13:22 +0000)]
Small fix
Roan Kattouw [Sun, 20 Jan 2008 13:09:32 +0000 (13:09 +0000)]
* Refactoring ApiQueryImageInfo to use new File::loadHistory() interface. No change in user-observed behavior
Victor Vasiliev [Sun, 20 Jan 2008 12:48:39 +0000 (12:48 +0000)]
* Fix image caching
Roan Kattouw [Sun, 20 Jan 2008 12:17:43 +0000 (12:17 +0000)]
FileRepo: LocalFile::getUser() should load data
Victor Vasiliev [Sun, 20 Jan 2008 12:13:34 +0000 (12:13 +0000)]
Gotta die today...
* Fix image uploading with image redirects enabled
* Escape titles
Victor Vasiliev [Sun, 20 Jan 2008 11:05:30 +0000 (11:05 +0000)]
Fix stupid bug
Brion Vibber [Sun, 20 Jan 2008 10:58:45 +0000 (10:58 +0000)]
A little refactoring of the input splitting/expansion:
* Trim duplicate input. If we ask for "Foo" three times, only export it once!
* Add a (disabled) option to export used images as well. No use for it right now since Special:Export doesn't export, and Special:Import doesn't import, any useful image information. Uncomment it when that happens. :D
Bertrand Grondin [Sun, 20 Jan 2008 10:30:17 +0000 (10:30 +0000)]
Commit core message for fr from Betawiki
Siebrand Mazeland [Sun, 20 Jan 2008 10:29:29 +0000 (10:29 +0000)]
Localisation updates for core messages from Betawiki
* imported messages from lmo.wikipedia
Siebrand Mazeland [Sun, 20 Jan 2008 10:20:57 +0000 (10:20 +0000)]
Localisation updates for core messages from Betawiki (2008-01-20 11:16 CET)
Victor Vasiliev [Sun, 20 Jan 2008 08:18:45 +0000 (08:18 +0000)]
* Fix empty file histories
* Fix Media: links to image redirects
Huji [Sun, 20 Jan 2008 08:06:40 +0000 (08:06 +0000)]
* Added Persian translations
* Updated messages.inc to include the newly added message.
Brion Vibber [Sun, 20 Jan 2008 07:14:12 +0000 (07:14 +0000)]
* Add option to include templates in Special:Export.
(An option to *expand* templates might be helpful too.)
Victor Vasiliev [Sun, 20 Jan 2008 07:05:59 +0000 (07:05 +0000)]
Image redirects:
* Forbid users who can't create redirects when they are not allowed to upload files
* Move target namespace check from checkRedirect() to findFile()
Victor Vasiliev [Sun, 20 Jan 2008 06:50:53 +0000 (06:50 +0000)]
Fix AJAX search caching on invalid titles
Victor Vasiliev [Sun, 20 Jan 2008 06:48:57 +0000 (06:48 +0000)]
Introduced File::getHistory(), which should be used instead of ugly nextHistoryLine() which is now deprecated
Shinjiman [Sun, 20 Jan 2008 05:56:06 +0000 (05:56 +0000)]
* (bug 12145) Update Kazakh translations
Patch by AlefZet
Brion Vibber [Sun, 20 Jan 2008 05:26:02 +0000 (05:26 +0000)]
* (bug 12695) Suppress dvips verbiage from web server error log
Huji [Sat, 19 Jan 2008 22:53:17 +0000 (22:53 +0000)]
Added Persian translations
Siebrand Mazeland [Sat, 19 Jan 2008 21:33:50 +0000 (21:33 +0000)]
Revert 'oops'
Siebrand Mazeland [Sat, 19 Jan 2008 21:24:12 +0000 (21:24 +0000)]
Localisation updates from Betawiki (2008-01-19 20:50 CET)
Tim Starling [Sat, 19 Jan 2008 13:53:09 +0000 (13:53 +0000)]
Fix for more than 6 equals signs on their own line.
Siebrand Mazeland [Sat, 19 Jan 2008 12:35:18 +0000 (12:35 +0000)]
Localisation updates for core messages from Betawiki (2008-01-19 13:27 CET)
Shinjiman [Sat, 19 Jan 2008 12:27:00 +0000 (12:27 +0000)]
* Update Chinese translations
* Update Cantonese translations
* Update Old Chinese / Late Time Chinese translations
Niklas Laxström [Sat, 19 Jan 2008 10:27:59 +0000 (10:27 +0000)]
* Xml::
Tim Starling [Sat, 19 Jan 2008 09:03:45 +0000 (09:03 +0000)]
* Eliminated message mode (OT_MSG), using OT_PREPROCESS instead. As proposed on wikitech-l.
* Fixed #tag behaviour in preprocess()
* Fixed #tag quote stripping regex
* Made MessageCache::getMessage() never transform its result, that is now left up to the caller.
* A few other minor changes
Brion Vibber [Sat, 19 Jan 2008 06:26:39 +0000 (06:26 +0000)]
Commit ver of doReplace that *doesn't* cause infinite recursion and stack death
Brion Vibber [Sat, 19 Jan 2008 06:06:49 +0000 (06:06 +0000)]
SiteConfiguration was smashing all variables into strings (or arrays of strings) with the str_replace.
This broke on things that wanted an actual 'false' or 'null' value exactly (or ints, though haven't run across such).
Changed to a type-safe replace that only does replaces on strings and strings in subarrays
Brion Vibber [Sat, 19 Jan 2008 05:39:41 +0000 (05:39 +0000)]
* (bug 12668) Support for custom iPhone bookmark icon via $wgAppleTouchIcon
Brion Vibber [Sat, 19 Jan 2008 01:18:23 +0000 (01:18 +0000)]
Restore the complete prohibition on action=raw with arbitrary script entry points.
While only MSIE is known to let the URL's "extension" override the allowed mime types, other browsers will still happily download a file with the name from the URL. That seems unwise as the content may be arbitrary (and perhaps executable).
Siebrand Mazeland [Sat, 19 Jan 2008 00:17:46 +0000 (00:17 +0000)]
Localisation updates for core messages from Betawiki
* adding Lingua Franca Nova (lfn), and Xhosa (xh)
Siebrand Mazeland [Fri, 18 Jan 2008 23:58:56 +0000 (23:58 +0000)]
Localisation updates for core messages from Betawiki (2008-01-19 0:45 CET)
Roan Kattouw [Fri, 18 Jan 2008 20:43:59 +0000 (20:43 +0000)]
API: Making a bunch of state-changing modules require POST requests.
Roan Kattouw [Fri, 18 Jan 2008 20:17:26 +0000 (20:17 +0000)]
API: Adding thumbnailing support to prop=imageinfo
Roan Kattouw [Fri, 18 Jan 2008 19:38:28 +0000 (19:38 +0000)]
* Changing PageArchive::undelete() and undeleteRevisions() to return false rather than an error code
* Refactoring ApiUndelete to use ApiBase::dieUsageMsg()
* Adding new messages to ApiBase::$messageMap
Roan Kattouw [Fri, 18 Jan 2008 18:53:57 +0000 (18:53 +0000)]
* Refactored IPUnblockForm::doUnblock() to return an array of message keys and parameters
* Refactored IPUnblockForm::doSubmit() and ApiUnblock accordingly
* Added even more messages to ApiBase::$messageMap
Roan Kattouw [Fri, 18 Jan 2008 17:48:03 +0000 (17:48 +0000)]
* Refactoring IPBlockForm::doBlock() to return message keys
* Refactoring ApiBlock accordingly
* Adding check for blockemail right to ApiBlock
* Adding more messages to ApiBase::$messageMap
* Fixing E_NOTICE in SpecialIpblocklist.php
Rotem Liss [Fri, 18 Jan 2008 17:18:36 +0000 (17:18 +0000)]
Update.
Victor Vasiliev [Fri, 18 Jan 2008 17:15:27 +0000 (17:15 +0000)]
* (bug 10049) Prefix index search and namespaces in Special:Withoutinterwiki
Roan Kattouw [Fri, 18 Jan 2008 16:34:40 +0000 (16:34 +0000)]
API:
* Refactored ApiProtect. No need for core modifications this time :)
* Added permissions check to ApiMove to protect against messages with arguments getting none. moveTo()'s return value should really be modified, see also comment
Roan Kattouw [Fri, 18 Jan 2008 16:19:38 +0000 (16:19 +0000)]
Check both the old and the new title of course. What was I smoking?
Roan Kattouw [Fri, 18 Jan 2008 16:01:31 +0000 (16:01 +0000)]
API: Unifying "the ... parameter must be set" messages into one ('missingparam'), expanding $1 in error codes as well.
Roan Kattouw [Fri, 18 Jan 2008 15:54:59 +0000 (15:54 +0000)]
Whoops, we should check for move *and* edit permissions.
Roan Kattouw [Fri, 18 Jan 2008 15:52:40 +0000 (15:52 +0000)]
Core:
* Using getUserPermissionsErrors() rather than userCan() in Title::isValidMoveOperation()
* Removing blocked check from Article::doRollback(): Title::getUserPermissionsErrors() checks for that already
API:
* Refactoring ApiMove to use new messages system
* Adding more messages to ApiBase::$messageMap
* Removing unused parameter to 'notanarticle' in ApiDelete::execute()
Siebrand Mazeland [Fri, 18 Jan 2008 15:29:24 +0000 (15:29 +0000)]
Fix srn UI display name
Roan Kattouw [Fri, 18 Jan 2008 14:34:14 +0000 (14:34 +0000)]
API:
* Refactored ApiDelete to use the new dieUsageMsg() system
* Adding some more messages to ApiBase::$messageMap
* Also using dieUsageMsg() for API-related errors in ApiRollback
* Removing 'lo' prefix for ApiLogout as it doesn't have any parameters anyway
Roan Kattouw [Fri, 18 Jan 2008 14:27:15 +0000 (14:27 +0000)]
Fixing parser bug that broke API rollback: use $this->mTitle instead of $wgTitle (the latter is NULL in API calls).
Huji [Fri, 18 Jan 2008 12:09:24 +0000 (12:09 +0000)]
Added Persian translations
Siebrand Mazeland [Fri, 18 Jan 2008 08:58:03 +0000 (08:58 +0000)]
Localisation updates for core messages from Betawiki (2008-01-18 9:45 CET)
Siebrand Mazeland [Thu, 17 Jan 2008 21:18:58 +0000 (21:18 +0000)]
Localisation updates for core messages from Betawiki
* adding messages imported from av.wikipedia
Siebrand Mazeland [Thu, 17 Jan 2008 21:06:53 +0000 (21:06 +0000)]
Localisation updates for core messages from Betawiki (2008-01-17 22:50 CET)
Shinjiman [Thu, 17 Jan 2008 18:40:59 +0000 (18:40 +0000)]
* Update Chinese translations
* Update Cantonese translations
* Update Old Chinese / Late Time Chinese translations
Siebrand Mazeland [Thu, 17 Jan 2008 17:58:34 +0000 (17:58 +0000)]
Localisation updates. Output of import from te.wikipedia.
Tim Starling [Thu, 17 Jan 2008 12:33:35 +0000 (12:33 +0000)]
Make Title::newFromIDs() work properly when given an empty array.
Tim Starling [Thu, 17 Jan 2008 12:31:54 +0000 (12:31 +0000)]
On edit, purge the cache of pages redirecting to the page in question. Obvious perhaps, but apparently never done.
Bertrand Grondin [Thu, 17 Jan 2008 12:00:06 +0000 (12:00 +0000)]
Localisation updates for extensions from Betawiki (2008-01-17 12:00 UTC)
Bertrand Grondin [Thu, 17 Jan 2008 11:25:19 +0000 (11:25 +0000)]
Undoing change committed in r29836 return to r 29817
Siebrand Mazeland [Thu, 17 Jan 2008 09:45:20 +0000 (09:45 +0000)]
Localisation updates for core messages from Betawiki (2008-01-17 09:50 CET)
Tim Starling [Thu, 17 Jan 2008 08:58:24 +0000 (08:58 +0000)]
Added ParserFirstCallInit hook. Deferred function registration in ParserFunctions until this hook is called.
Siebrand Mazeland [Thu, 17 Jan 2008 08:13:03 +0000 (08:13 +0000)]
Update recently added messages.
Rotem Liss [Thu, 17 Jan 2008 07:52:24 +0000 (07:52 +0000)]
Update.
Tim Starling [Thu, 17 Jan 2008 04:02:57 +0000 (04:02 +0000)]
It was a bit too early to remove OnlyIncludeReplacer... still used by Parser_OldPP.
Tim Starling [Thu, 17 Jan 2008 03:23:07 +0000 (03:23 +0000)]
* Fixed "Morwen/13" from meta.wikimedia.org/w/index.php?title=Migration_to_the_new_preprocessor&oldid=837845 . The fix is heuristic, to avoid infinite backtracking or "alternate-reality" style branching in the preprocessToDom stack. Some edit section links will go missing despite my best efforts.
* Split the PPD stack out to its own class. Verified with a differential fuzz test.
* Added parser tests for Morwen/13 (including new heuristic behaviour) and bug 5678.
Brion Vibber [Thu, 17 Jan 2008 00:29:05 +0000 (00:29 +0000)]
Slap some prettier warnings on too-big deletions.
Siebrand Mazeland [Thu, 17 Jan 2008 00:10:09 +0000 (00:10 +0000)]
Localisation updates for core messages from Betawiki
* added Kotava/avk
Brion Vibber [Wed, 16 Jan 2008 23:08:19 +0000 (23:08 +0000)]
Quick hack in: $wgDeleteRevisionsLimit and 'bigdelete' permission.
Should keep us from the couple-of-times-yearly "oops someone deleted the sandbox" fun.
Brion Vibber [Wed, 16 Jan 2008 22:37:19 +0000 (22:37 +0000)]
Put image redirects behind $wgFileRedirects config option for now (defaulting off).
Several issues off the top of my head:
* Redirect behavior doesn't match between the image and the page.
* Upload form doesn't appear to pick up conflicts with existing redirects; this leads to confusion when after the upload you see a page showing the already-present redirect target, but the newly uploaded file is what you get when you use the name.
* [[Image:]] link to a redirect to a non-image page links to Special:Upload with the redirect name; [[Image:]] link to a redirect to a non-existent image page just links to the redirect page... behavior seems very hard to predict.
* Caching issues; pages using the redirected image don't appear to get invalidated when the redirect page is deleted
* Upload permissions can't be matched easily to creating-redirect permissions, which may be an issue (eg, create a billion redirects to Image:Goatse.jpg with innocent names)
Brion Vibber [Wed, 16 Jan 2008 21:54:52 +0000 (21:54 +0000)]
Please keep site-specific temporary directories out of svn -- they're supposed to be locally created, so they have proper permissions and they need to not interfere with live behavior
Brion Vibber [Wed, 16 Jan 2008 20:59:24 +0000 (20:59 +0000)]
Add an explicit Cache-control: no-cache header on external edit; possible reports that our caches are aggressively caching these, though they shouldn't in an ideal world.
Huji [Wed, 16 Jan 2008 20:59:06 +0000 (20:59 +0000)]
Added Persian translations
Victor Vasiliev [Wed, 16 Jan 2008 18:49:41 +0000 (18:49 +0000)]
Fix call to non-static method
Victor Vasiliev [Wed, 16 Jan 2008 18:31:00 +0000 (18:31 +0000)]
Forgot to commit this file
Victor Vasiliev [Wed, 16 Jan 2008 18:27:43 +0000 (18:27 +0000)]
* Support redirects in image namespace
Now doesn't require schema change
Victor Vasiliev [Wed, 16 Jan 2008 18:03:52 +0000 (18:03 +0000)]
* Add DBA-caching to installer
Aryeh Gregor [Wed, 16 Jan 2008 17:42:46 +0000 (17:42 +0000)]
Improve sanity check on site name a bit: ban '#' (number sign). There are undoubtedly several other characters that should be checked for, e.g., ':'.
Siebrand Mazeland [Wed, 16 Jan 2008 16:10:48 +0000 (16:10 +0000)]
Localisation updates for core messages from Betawiki (2008-01-16 16:44 CET)
* added Gagauz/gag
River Tarnell [Wed, 16 Jan 2008 10:38:54 +0000 (10:38 +0000)]
use label.htmlFor=... instead of label.setAttribute('for', ...): the former works in IE7, Firefox, Safari and Opera, while the latter does not work in IE7
River Tarnell [Wed, 16 Jan 2008 07:49:15 +0000 (07:49 +0000)]
adjust footer padding and left portlet header size
Tim Starling [Wed, 16 Jan 2008 07:46:27 +0000 (07:46 +0000)]
#tag changes as per #wikimedia-tech committee
Bertrand Grondin [Wed, 16 Jan 2008 06:56:01 +0000 (06:56 +0000)]
Localisation updates for extensions from Betawiki (2008-01-16 06:55 UTC)
River Tarnell [Wed, 16 Jan 2008 05:06:33 +0000 (05:06 +0000)]
styling for toc, categories
River Tarnell [Wed, 16 Jan 2008 04:32:36 +0000 (04:32 +0000)]
plainlinks
River Tarnell [Wed, 16 Jan 2008 04:28:35 +0000 (04:28 +0000)]
import image styling from monobook
River Tarnell [Wed, 16 Jan 2008 04:15:57 +0000 (04:15 +0000)]
increase line-height slightly in navigation
River Tarnell [Wed, 16 Jan 2008 04:06:48 +0000 (04:06 +0000)]
rearrange the content area so clear'd elements don't shift the navigation out of whack
River Tarnell [Wed, 16 Jan 2008 02:59:30 +0000 (02:59 +0000)]
print stylesheet
River Tarnell [Wed, 16 Jan 2008 02:51:58 +0000 (02:51 +0000)]
styling for prefs form, external links
Tim Starling [Wed, 16 Jan 2008 02:47:31 +0000 (02:47 +0000)]
* Strip fragments from $parser->mTitle to avoid having them show up in odd places, like section edit links. Potential fix for a bug which is reproducible on test.wikipedia.org but not locally.
* Identifiable heading for limit report
Tim Starling [Wed, 16 Jan 2008 02:20:49 +0000 (02:20 +0000)]
Respect $wgEnableParserCache
River Tarnell [Wed, 16 Jan 2008 02:15:06 +0000 (02:15 +0000)]
new skin: modern
Aryeh Gregor [Wed, 16 Jan 2008 00:06:42 +0000 (00:06 +0000)]
* Rollback should not work if the wiki is read-only
* Spacing, 80-char lines, adjust some comments
Siebrand Mazeland [Wed, 16 Jan 2008 00:01:23 +0000 (00:01 +0000)]
Localisation updates for core messages from Betawiki (2008-01-16 0:44 CET)
Roan Kattouw [Tue, 15 Jan 2008 21:33:08 +0000 (21:33 +0000)]
API:
* Removing action=render module (which was deprecated) in favor of action=parse
* Added prop parameter to action=parse so certain parts of the output can be left out
* action=parse&prop=text behaves pretty much exactly like action=render used to
Roan Kattouw [Tue, 15 Jan 2008 21:09:44 +0000 (21:09 +0000)]
Limiting image history listings to 500 for now. A hard-coded limit sucks, but an alternative isn't really available as the File handling code doesn't allow it (see also bug 12645). Besides, very few image histories are that long.